﻿<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>关于我们</title>

    <link rel="stylesheet" type="text/css" href="/resume/css/common.css" />
    <link rel="stylesheet" type="text/css" href="/resume/css/style.css" />
    <link rel="stylesheet" type="text/css" href="/resume/css/media.css" />
    <link rel="stylesheet" type="text/css" href="/resume/sweetalter/sweetalert2.min.css" />

</head>

<body>
    <!-- VUE对象包裹 -->
    <div class="vue" v-cloak>
        <!-- 头部 -->
{{--        @include('public.top')--}}

        <!-- 内容 -->
        <div class="about" style="padding-top: 60px;">
            <div class="about-part-one">
                <img class="apo_img" src="/resume/images/aboutTable.png" alt="">
            </div>
            <div class="about-part-two whoIsIt">
                <div class="ab-two-content">
                    <div>
                        <h3>我们是谁</h3>
                        <div class="subtitle">WHO WE ARE</div>
                    </div>
                    <div class="whoIsItDetail">
                        <p>{{$content['title']}}</p>
                    </div>
                </div>
                @foreach ($contract as $k => $v)
{{--                    @if ($loop->first)--}}
{{--                        这是第一次迭代。--}}
{{--                    @endif--}}

{{--                    @if ($loop->last)--}}
{{--                        这是最后一次迭代。--}}
{{--                    @endif--}}

                    <p>合同标题：{{ $v['title'] }}</p>
                @endforeach

            </div>
            <div class="about-part-three">
                <div class="ab-three-content">
                    <div class="imgBox">
                        <img :src="us.imageUrl" alt="">
                    </div>
                    <div class="ab-thress-content-detail">
                        <div>
                            <h3>我们的服务</h3>
                            <div class="subtitle">OUR SERVICE</div>
                        </div>
                        <div class="detail">
                            <span>@{{us.service_content}}</span>
                        </div>
                    </div>

                </div>
                <div class="ab-three-content">

                    <div class="ab-thress-content-detail">
                        <div>
                            <h3>我们的团队</h3>
                            <div class="subtitle">OUR TEAM</div>
                        </div>
                        <div class="detail">
                            <p>专业 · 高效 · 符合客户需求</p>
                            <p>@{{us.team_content}}</p>
                        </div>
                    </div>
                    <div class="imgBox">
                        <img :src="us.imageUrl1" alt="">
                    </div>
                </div>
            </div>
        </div>
        <!-- footer -->
{{--        @include('public.footer')--}}
    </div>

    <script type="text/javascript" src="/resume/js/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="/resume/js/polyfill.js"></script>
    <script type="text/javascript" src="/resume/js/vue.js"></script>
    <script type="text/javascript" src="/resume/js/axios.min.js"></script>
    <script type="text/javascript" src="/resume/sweetalter/sweetalert.min.js"></script>
    <script type="text/javascript" src="/js/jquey.cookie.min.js"></script>
    <script type="text/javascript" src="/resume/js/config.js"></script>
    <script>
        new Vue({
            el: '.vue',
            data: {
                content1: "注册",
                content2: "登录",
                c_info: c_info,
                user: user,
                us: {}
            },
            methods: {
                go1: function go1() {
                    var _this = this;
                    if (_this.user == null)
                        window.location.href = '{{ url('/register') }}';
                else {
                    axios.get('{{url('logout')}}')
                        .then(function data(data) {
                            if (data.data.code === 0) {
                                $.cookie('X-Token', { expires: -1 });
                                $.cookie('isMemberLogin', { expires: -1 });
                            }
                        })
                    window.location.href = '{{ url('/login') }}';
                }
            },
            go2: function go2() {
                var _this = this;
                if (_this.user == null)
                    window.location.href = '{{ url('/login') }}';
                else
                    window.location.href = '{{ url('/center') }}';
        }
        },
            computed: {

        },
            mounted: function mounted() {
                var _this = this;
                if (_this.user != null) {
                    _this.content2 = _this.user.mobile;
                    _this.content1 = "退出";
                }

            $(".nav-cl li:eq(4)").addClass('active');
            //获取贴士信息
           // var formData = new FormData();
            // formData.append("type", 1)
            // axios.post(base_URL + "/text/getUS", formData)
            //     .then(function data(data) {
            //         if(data.data.code === 0){
            //             _this.us = data.data.data;
            //         }else{
            //             swal({
            //                 title:data.data.message,
            //                 type:"error",
            //                 timer: 1000
            //             });
            //         }
            //     });
        }
    })
    </script>
</body>

</html>
